<?php
/* -------------------------------------------------------------------------------------
* 	ID:						$Id: error.php 46 2013-09-21 11:56:29Z phone.mueller@googlemail.com $
* 	Letzter Stand:			$Revision: 46 $
* 	zuletzt geaendert von:	$Author: siekiera $
* 	Datum:					$Date: 2013-09-21 11:56:29 +0000 (Sat, 21 Sep 2013) $
*
* 	SEO:mercari by Siekiera Media
* 	http://www.seo-mercari.de
*
* 	Copyright (c) since 2011 SEO:mercari
* --------------------------------------------------------------------------------------
* 	based on:
* 	(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
* 	(c) 2002-2003 osCommerce - www.oscommerce.com
* 	(c) 2003     nextcommerce - www.nextcommerce.org
* 	(c) 2005     xt:Commerce - www.xt-commerce.com
*
* 	Released under the GNU General Public License
* ----------------------------------------------------------------------------------- */

require('includes/application_top.php');

$data = $db->db_query("SELECT 
							customers_firstname,
							customers_lastname,
							customers_email_address,
							customers_telephone
						FROM
							".TABLE_CUSTOMERS."
						WHERE
							customers_id = 1");

require(DIR_WS_INCLUDES.'metatag.php');
?>
</style>
</head>
<body>
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<div id="wrapper">
	<table class="outerTable" cellspacing="0" cellpadding="0">
		<tr>
			<td class="boxCenter" height="100%" valign="top">
	        	<table width="600" border="0" cellpadding="10" align="center" style="margin: 30px auto 30px auto; border: 2px solid #b20000">
		   			<tr>
		     			<td><h1 style="color:#b20000">Zugriff verweigert!</h1></td>
					</tr>
					<tr>
						<td>
							<p>
								Der Administrator <b><?php echo $data->fields['customers_firstname'].' '.$data->fields['customers_lastname'];?></b> hat Ihnen nicht die Berechtigung erteilt, die von Ihnen aufgerufene Seite zu sehen.<br /><br />
								Fragen Sie via <a href="mailto:<?php echo $data->fields['customers_email_address'] ?>">Email</a> oder Telefon: <?php echo $data->fields['customers_telephone']; ?> nach den passenden Rechten.
							</p>
						</td>
					</tr>
				</table>
		    </td>
		</tr>
	</table>
</div>
<?php require(DIR_WS_INCLUDES.'footer.php'); ?>
</body>
</html>
<?php require(DIR_WS_INCLUDES.'application_bottom.php'); ?>